#include "StdAfx.h"
#include "Test.h"
#include "aidentity.h"

Test * gtest = NULL;

Test::Test(void)
{
	gtest = this;
	this->setObjName("Test");

	this->acreate();
}
Test::~Test(void)
{
	this->adestory();

	gtest = NULL;
}
int Test::create()
{
	gidentity->add(this->getObjName(), this);
	return 0;
}
void Test::destory()
{
	gidentity->del(this->getObjName());
}